"""
@-*- coding: utf-8 -*-
@ python: 3.12.3
@ 创建者: JacksonCode
@ 创建时间: 2025-09-18
"""

from flask import Flask, jsonify

app = Flask(__name__)


@app.route("/")
def index():
    return "hello flask"

@app.route("/json")
def ref_json():
    data = {"code": 200, "message": "hello world", "status": "success"}

    return jsonify(data)


if __name__ == '__main__':
    app.run(debug=True, port=6523)
